package com.sumainfor.pc.gmio.controller;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.service.RentSupervisorsDeskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * <p>
 * 租后主管工作台
 * <p>
 *
 * @author: zhoucong
 * @create: 2019-06-05 17:38
 **/
@Controller
@RequestMapping("/rentSupervisorsDesk")
public class RentSupervisorsDeskController {

  @Autowired
  RentSupervisorsDeskService rentSupervisorsDeskService;

  /**
   * <p>
   * 重要状态提醒
   * </p>
   *
   * @author: zhoucong
   * @since:
   */
  @ResponseBody
  @GetMapping("/getImport")
  public JsonResult getImport() {
    return rentSupervisorsDeskService.getImport();
  }



  /**
   * <p>
   * 特殊事项提醒
   * </p>
   * @author: zhoucong
   * @since:
   */
  @ResponseBody
  @GetMapping("/specialConsiderations")
  public JsonResult specialConsiderations() {
    return rentSupervisorsDeskService.specialConsiderations();
  }


  /**
   * <p>
   *日账审核
   * </p>
   *
   * @author: zhoucong
   * @since:
   */
  @ResponseBody
  @GetMapping("/getToReviewBill")
  public JsonResult getToReviewBill(){
    return rentSupervisorsDeskService.getToReviewBill();
  }
}